<#include "/common/pagerForm.html">
<form rel="pagerForm" method="post" action="${rc.getContextPath()}/manage/confirmDetails/confirmDetails_two" onsubmit="return  dwzSearch(this, 'dialog');">
    <div class="panelBar">
        <ul class="toolBar">
            <li style="margin-top: 8px;"><h1 style="text-align:left;">报工信息</h1></li>
        </ul>
        <input type="hidden" name="productionNum" value="<#if confirm??>${confirm.productionOrderNum!''}</#if>" />
        <input type="hidden" name="workCenterCodeStr" value="<#if confirm??>${confirm.workCenterCodeStr!''}</#if>" />
    </div>
    <table class="table" layoutH="220">
        <thead>
            <tr>
                <th width="30"><@label key="serialNumber.C">序号</@label></th>
                <th width="120"><@label key='productionControlNum.C'>生产管理号</@label></th>
                <th width="80"><@label key='productionlotNum.C'>生产批次号</@label></th>
                <th width="80"><@label key='completedQuantity.C'>完工数量</@label></th>
                <th width="100"><@label key="confirmUser.C">报工人</@label></th>
                <th width="100"><@label key="confirmDateTime.C">报工时间</@label></th>
                <th width="100"><@label key="workCenterCode.C">工作中心</@label></th>
                <th width="100"><@label key="workUnit.C">作业单元</@label></th>
                <th width="100"><@label key="operation.C">工序</@label></th>
            </tr>
        </thead>
        <tbody>
        <#if page?? && (page.data?size>0)>
            <#list page.data as confirm>
                <tr>
                    <td>${page.startRow + confirm_index}</td>
                    <td>${confirm.productionOrderNum!''}</td>
                    <td>${confirm.productionLotNum!''}</td>
                    <td>${confirm.completedQuantity!''}</td>
                    <td>${confirm.confirmUser!''}</td>
                    <td>${(confirm.confirmDateTime?string("yyyy-MM-dd"))?if_exists}</td>
                    <td>${confirm.workCenterCode!''}</td>
                    <td>${confirm.workUnitCode!''}</td>
                    <td>${confirm.operationCode!''}</td>
                </tr>
            </#list>
        </#if>
        </tbody>
    </table>
    <div class="panelBar" style="border-width: 1px;">
        <#if page??>
        <div class="pages">
            <span ><@label key="pagePanelShow.C">显示</@label></span> <select class="combox" name="numPerPage"
                onchange="navTabPageBreak({numPerPage:this.value},'archives_confirmDetails')"> <#list
                [10,20,30,50,100,200] as page_size> <#if
                (page.numPerPage)==page_size>
                <option value="${page_size}" selected="selected">${page_size}</option>
                <#else>
                <option value="${page_size}">${page_size}</option> </#if> </#list>
            </select> <span><@label key="pagePanelMiddle.C">共</@label></span><span><#if page.totalCount??>${page.totalCount?c}<@label key="item.C">条</@label></span></#if>
        </div>
    
        <div class="pagination" targetType="navTab" rel="archives_confirmDetails"
            totalCount="<#if page.totalCount??>${page.totalCount?c}</#if>"
            numPerPage="<#if page.numPerPage??>${page.numPerPage?c}</#if>"
            pageNumShown="5"
            currentPage="<#if page.pageNum??>${page.pageNum?c}</#if>"></div>
        </#if>
    </div>
</form>